package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品订单评价
 */
@ApiModel(value = "com-lanchetech-entity-OrderComment")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderComment implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private Long orderId;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 订单详情id
     */
    @ApiModelProperty(value = "订单详情id")
    private Long orderSkuId;

    /**
     * 商品spu_id
     */
    @ApiModelProperty(value = "商品spu_id")
    private Long spuId;

    /**
     * 商品sku id
     */
    @ApiModelProperty(value = "商品sku id")
    private Long skuId;

    /**
     * 匿名发布 0 不匿名 1 匿名
     */
    @ApiModelProperty(value = "匿名发布 0 不匿名 1 匿名")
    private Byte anonymous;

    /**
     * 评价星星等级1~5颗星
     */
    @ApiModelProperty(value = "评价星星等级1~5颗星")
    private Byte star;

    /**
     * 评价内容
     */
    @ApiModelProperty(value = "评价内容")
    private String content;

    /**
     * 评价图片，逗号分隔
     */
    @ApiModelProperty(value = "评价图片，逗号分隔")
    private String imageList;

    /**
     * 评价状态 0 用户关闭 1 正常 2 客服关闭
     */
    @ApiModelProperty(value = "评价状态 0 用户关闭 1 正常 2 客服关闭")
    private Byte status;

    /**
     * 客服回复
     */
    @ApiModelProperty(value = "客服回复")
    private String reply;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updatedAt;

    /**
     * 商家编号
     */
    @ApiModelProperty(value = "商家编号")
    private Long shopId;

    /**
     * 服务态度评价
     */
    @ApiModelProperty(value = "服务态度评价")
    private Integer serviceStar;

    /**
     * 商家环境评价
     */
    @ApiModelProperty(value = "商家环境评价")
    private Integer environmentStar;

    /**
     * 性价比评价
     */
    @ApiModelProperty(value = "性价比评价")
    private Integer valueStar;

    /**
     * 评价视频
     */
    @ApiModelProperty(value = "评价视频")
    private String video;

    private static final long serialVersionUID = 1L;
}